* {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    background-color: #f5f5f5;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.clearfix::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

@mixin clearfix {
    &::after {
        content: "";
        display: block;
        height: 0;
        clear: both;
    }
}

.header .container {
    margin-bottom: 40px;
    padding: 30px 20px;
    width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .log {
        display: flex;
        width: 220px;
        justify-content: space-between;

        img {
            width: 75px;
            height: 75px;
        }

        div {
            h1 {
                font-size: 28px;
                font-weight: 700;
                line-height: 40px;
            }

            span {
                margin-left: -15px;
                display: inline-block;
                font-size: 12px;
                transform: scale(.8);
            }
        }
    }

    .input {
        width: 532px;
        position: relative;
        border: 2px black solid;
        border-radius: 23px;
        padding: 2px 4px;
        height: 42px;

        ul {
            position: absolute;
            width: 522px;
            left: 5px;
            border-radius: 10px;
            top: 52px;
            transition: height 0.5s;
            z-index: 100;
            background-color: white;
            overflow: hidden;
            li {
                list-style: none;
                a {
                    padding: 5px ;
                    display: block;
                    width: 100%;
                    height: 40px;
                    img {
                        float: left;
                        width: 40px;
                        height: 40px;
                    }
                    p{
                        float: left;
                        color: #999;
                        display: inline-block;
                        width: 320px;
                        padding:  0 20px;
                        line-height: 40px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-size: 18px;
                        white-space: nowrap;
                    }
                    div{
                        float: left;
                        display: inline-block;
                        line-height: 40px;
                        color: #fee44e;
                        padding: 0 10px;
                        font-size: 20px;
                    }
                    button{
                        background-color: white;
                        line-height: 40px;
                        float: left;
                        width: 40px;
                        color: #999;
                        border-radius: 50%;
                        box-sizing: content-box;
                        &:hover{
                            background-color: #999;
                            color: white;
                        }
                    }
                }

            }
        }

        span {
            display: inline-block;
            float: left;
            font-size: 32px;
            line-height: 44px;
            margin-left: 8px;
        }

        input {
            float: left;
            margin-left: 6px;
            outline-style: none;
            line-height: 44px;
            background-color: #f5f5f5;
        }

        >button {
            float: right;
            box-sizing: content-box;
            width: 124px;
            height: 42px;
            border-radius: 22px;
            background-color: #fee44e;
        }
    }

    .header_right {
        width: 200px;
        display: flex;
        justify-content: space-between;

        div {
            width: 50px;
            display: flex;
            flex-flow: column;

            span {
                display: inline-block;
                margin-top: 4px;
                font-size: 12px;
                color: #999;
            }

            img {
                width: 40px;
                height: 40px;
            }
        }

    }
}

.banner {
    background-color: #43240c;

    .select {
        @include clearfix();
        color: white;

        ul {
            list-style: none;

            li {
                float: left;
                line-height: 46px;
                width: 160px;
                text-align: center;

                a {
                    display: block;
                    text-decoration: none;
                    line-height: 46px;
                    width: 160px;
                    color: white;
                    &:hover{
                        background-color: #fee44e;
                        color: black;
                    }
                }

            }

            .select_li a {
                width: 100%;
                background-color: #fee44e;
                color: black;
            }
        }
    }
}

.footer {
    background-color: #000;
    opacity: .706;

    .main {
        padding: 30px 50px;
        width: 1100px;

        >div {
            float: left;
            height: 112px;

            img {
                width: 112px;
                height: 112px;
                border-radius: 20px;
            }

            div {
                width: 130px;
                margin-left: 20px;

                h1 {
                    float: left;
                    color: white;
                    line-height: 40px;
                }

                p {
                    float: left;
                    color: white;
                    line-height: 20px;
                    font-size: 16px;
                    margin-bottom: 10px;
                }

                display: inline-block;
            }
        }

        .xiazai {
            font-size: 24px;
            line-height: 112px;
            margin-left: 200px;

            span {
                color: white;
            }

            a {
                color: white;
                text-decoration: none;
            }
        }
    }

    .copy {
        height: 26px;
        text-align: center;

        p {
            color: white;
        }
    }
}

.go_top{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: fixed;

    right: 5%;
    top: 80%;
}